package com.yn.pet.controller.pc.request;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import org.checkerframework.checker.units.qual.N;

import javax.validation.constraints.NotNull;

@Data
public class PhoneWhiteListRequest {

    @ApiModelProperty("设备id")
    //新增时必须传
    private Long deviceId;

    @ApiModelProperty("联系人id")
    //修改时必须传
    private Long phoneId;

    @ApiModelProperty(value = "号码")
    @NotNull
    private String phoneNumber;

    @ApiModelProperty(value = "姓名")
    @NotNull
    private String name;

    @ApiModelProperty(value = "1:呼入 2:呼出 3:呼入/呼出")
    @NotNull
    private Integer sign;
}
